using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinformDevelopFrame.Entity;

namespace WinformDevelopFrame.IServices
{
    public interface IsysroleService: IBaseServices<sysrole>
    {
        int Add(RoleM m);
        int AddList(List<sysrole> list);

        bool UpdateN(RoleM m);
        bool UpdateList(List<sysrole> list);

        bool DeleteN(RoleM m);
        bool DeleteList(List<sysrole> list);

        sysrole QueryById(int id);
        List<sysrole> QueryList(List<int> ids);
    }
}